Prüfer-Like Codes for Labeled Trees
نویسندگان
چکیده
In 1918 Prüfer showed a one-to-one correspondence between n-node labeled trees and (n – 2)-tuples of node labels. The proof employed a tree code, computed by iteratively deleting the leaf with the smallest label and recording its neighbor. Since then other tree codes have been proposed, based on different node deletion sequences. These codes have different properties, interesting and useful in graph theory and computer science. In this paper we survey and classify these Prüfer-like codes as well as new codes based on the parameter values of the proposed generic tree-encoding algorithm and study their properties.
منابع مشابه
Parallel Algorithms for Computing Prüfer-Like Codes for Labeled Trees
In 1918 Prüfer showed a one-to-one correspondence between labeled trees on n nodes and sequences of (n 2) node labels, obtained by iteratively deleting the leaf with the smallest label in the current tree and appending the label of the adjacent node to the code. In 1953 Neville proposed two additional methods for encoding a labeled tree of order n into a sequence of (n 2) labels. Recently, yet ...
متن کاملPrüfer codes for hypertrees
1: We describe a new Prüfer code which works also for infinite hypertrees.
متن کاملLinear-time Algorithms for Encoding Trees as Sequences of Node Labels
In this paper we present O(n)-time algorithms for encoding/decoding n-node labeled trees as sequences of n−2 node labels. All known encodings of this type are covered, including Prüfer-like codes and the three codes proposed by Picciotto the happy, blob, and dandelion codes. The algorithms for Picciotto’s codes are of special significance as previous publications describe suboptimal approaches ...
متن کاملParallel Algorithms for Dandelion-Like Codes
We consider the class of Dandelion-like codes, i.e., a class of bijective codes for coding labeled trees by means of strings of node labels. In the literature it is possible to find optimal sequential algorithms for codes belonging to this class, but, for the best of our knowledge, no parallel algorithm is reported. In this paper we present the first encoding and decoding parallel algorithms fo...
متن کاملUnified parallel encoding and decoding algorithms for Dandelion-like codes
The Dandelion-like codes are eight bijections between labeled trees and strings of node labels. The literature contains optimal sequential algorithms for these bijections, but no parallel algorithms have been reported. In this paper the first parallel encoding and decoding algorithms for Dandelion-like codes are presented. Namely, a unique encoding algorithm and a unique decoding algorithm, whi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001